<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8" />
    <meta
      name="viewport"
      content="initial-scale=1.0, user-scalable=no, width=device-width"
    />
    <title>HELLO，AMAP!</title>
    <style>
      html,
      body,
      #container {
        width: 100%;
        height: 100%;
      }
    </style>
    <script src="amap/AMap3.js"></script>
  </head>
  <body>
    <div id="container"></div>
    <script type="text/javascript">
      //地图初始化应该在地图容器 <div> 已经添加到 DOM 树之后
      var map = new AMap.Map("container", {
        zoom: 11,
        center: [116.397428, 39.90923], //地图中心点
      });
    </script>
  </body>
</html>
